#include <systemInit.h>
#include <pdsTask.h>
#include "key.h"



void main(void)
{
    /* !!!!!!!MUST BE called firstly here for initializing system parameters !!!!*/
    PDS_Init();
    /* System init for hardwre init */
    SYS_Init();
	
	KeyInit();
    /* system main infinite loop */
    for(;;){
      TM_RunTasks();
	  Task_KeyScan();
//	  Task_Display();
    }
}
